<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Document</title>
  <style>
    .pdf-content {
      padding: 0 4%;
      width: calc(100% - 8%);
    }
    .top {
      height: 60px;
    }
    * {
      line-height: 1;
      color: #000;
    }
    .pdf-title {
      font-family: 'FangSong_GB2312';
      font-size: 40px;
      text-align: center;
      color: #0066ff;
      margin-bottom: 40px;
      margin-top: 18px;
    }
    .code {
      text-align: center;
      font-family: 'Song';
      margin-bottom: 10px;
      font-weight: 600 !important;
    }
    .base {
      border-top: 4px solid #0066ff;
      border-bottom: 4px solid #0066ff;
      padding: 9px;
    }
    .base .title {
      text-align: center;
      font-family: 'Song';
      font-size: 28px;
      font-weight: 700;
      margin: 10px 0;
    }
    .big-txt {
      font-size: 20px;
      line-height: 1.2;
      font-weight: 600;
      margin: 0 0 10px 0;
      font-family: 'Song';
    }
    .big-txt span {
      font-weight: 500;
    }
    .middle-txt {
      font-size: 29px;
      font-weight: bold;
    }
    .small-txt {
      font-size: 24px;
      margin-left: 20px;
      min-height: 20px;
    }
    .text-inde {
      margin-left: 20px;
    }
    .content {
      font-family: 'Song';
      margin-top: 50px;
    }
    .content-title {
      font-size: 18px;
      font-weight: bold;
      line-height: 1;
    }
    .weather-title {
      line-height: 1;
      margin-left: 20px;
    }
    .weather-content {
      margin-left: 40px;
    }

  </style>
</head>

<body>
<div id="pdfDom" class="pdf-content">
  <div class="top"></div>
  <div class="pdf-title">测试pdf标题</div>
  <div class="base">
    <div class="title"><span th:text="${name}"></span></div>
    <p class="big-txt">
      <span th:text="时间："></span>
      <span th:text="${meetingDate}"></span>
    </p>
    <p class="big-txt">
      <span th:text="地点："></span>
      <span th:text="${address}"></span>
    </p>
    <p class="big-txt">
      <span th:text="公司："></span>
      <span th:text="${compereName}"></span>
    </p>
  </div>
  <div class="content">
    <p class="big-txt"><span th:text="测试内容"></span></p>
    <div class="content-detail">
      <p class="content-title">一、测试内容表头</p>
      <p class="weather-title">1、<span th:text="${lastMeetingType}"></span>情况：</p>
      <div class="weather-content">
        <p>1）行1：<span th:text="${lastTempDays}"></span>天</p>
        <p>2）行2：<span th:text="${lastRainDays}"></span>天</p>
        <p>3）行3：<span th:text="${lastWindDays}"></span>天</p>
      </div>
    </div>
<!--    富文本内容-->
    <div th:utext="${content}"></div>
  </div>
</div>
</body>
</html>
